package ooday01;

public class StuExercise01Test {
    public static void main(String[] args) {
        StuExercise01 zs = new StuExercise01();
        zs.name = "张三";
        zs.age = 20;
        zs.className = "JSD2203";
        zs.stuId = "001";
        zs.address = "北京市";
        zs.sayHi();

        StuExercise01 ls = new StuExercise01("李四",22,"jsd2203","002","天津市");
        ls.sayHi();
        ls.studyWith("张三");

        StuExercise01 ww = new StuExercise01();
        ww.name = "王五";
        ww.sayHi();
    }
}
